html,
body,
#app {
  width: 100vw;
  height: 100vh;
}

body {
  margin: 0;
  min-width: 1080px;
}

.align-left {
  text-align: left;
}

.align-right {
  text-align: right;
}

.align-center {
  text-align: center;
}

.visual-base {
  box-sizing: border-box;
  position: relative;
  width: 100%;
  height: 100%;
  padding: 0 20px;
  color: white;
  background: url(../images/bg-01.png) 0 0/100% 100%;
  overflow: hidden;
}

.visual-starry-bg {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 1080px;
  height: 100%;
  background: url(../images/球.png) no-repeat;
  transform-origin: center;
  animation: mRotate 30s linear infinite;
}

@keyframes mRotate {
  from {
    transform: translateX(-50%) rotate(0);
  }

  to {
    transform: translateX(-50%) rotate(1turn);
  }
}

.visual-header {
  height: 10vh;
  background: url(../images/bg-02.png) 0 0/100% no-repeat;
}

.visual-title {
  height: 8vh
}

.visual-main {
  height: 40vh;
}

.basic-frame-mixin {
  width: 30px;
  height: 30px;
  content: "";
  position: absolute;
}

// @border-color-cyan: #96C9DB;
// .border-base-set(@top: 0, @right: 0, @bottom: 0, @left: 0, @radius: 0) {
//   border-top: solid @border-color-cyan @top;
//   border-right: solid @border-color-cyan @right;
//   border-bottom: solid @border-color-cyan @bottom;
//   border-left: solid @border-color-cyan @left;
//   border-radius: @radius;
// }

.basic-frame {
  .el-col {
    box-sizing: border-box;
    position: relative;
    height: 100%;

    &::before,
    div.border3::before {
      .basic-frame-mixin;
      margin: 10px;
      border-top: solid 2px #96C9DB;
      border-left: solid 2px #96C9DB;
      // .border-base-set(2px,0,0,2px)
    }

    &::after,
    div.border3::after {
      .basic-frame-mixin;
      margin: 10px 10px;
      right: 0;
      top: 0;
      border-top: solid 2px #96C9DB;
      border-right: solid 2px #96C9DB;
    }

    div.border {
      position: absolute;
      height: 25px;
      bottom: 0;
      width: 100%;

      &::before {
        .basic-frame-mixin;
        margin: 10px;
        bottom: 0;
        border-bottom: solid 2px #96C9DB;
        border-left: solid 2px #96C9DB;
      }

      &::after {
        .basic-frame-mixin;
        margin: 10px;
        bottom: 0;
        right: 0;
        border-bottom: solid 2px #96C9DB;
        border-right: solid 2px #96C9DB;
      }
    }

    div.border1 {
      width: calc(100% - 10px);
      bottom: 5px;
      left: 5px;

      &::after,
      &::before {
        width: 25px;
        height: 25px;
        border-width: 1px;
      }
    }

    div.border3 {
      width: calc(100% - 35px);
      top: 5px;
      left: 5px;
      height: 25px;

      &::after {
        width: 25px;
        height: 25px;
        margin: 15px;
        border-top: solid 1px #96C9DB;
        border-right: solid 1px #96C9DB;
      }

      &::before {
        width: 25px;
        height: 25px;
        margin: 15px;
        border-top: solid 1px #96C9DB;
        border-left: solid 1px #96C9DB;
      }
    }
  }

  .chart-container {
    box-sizing: border-box;
    width: calc(100% - 20px);
    height: calc(100% - 20px);
    margin: -15px 10px;
    padding: 10px 15px;
    ;
    background: rgba(4, 41, 86, .5)
  }
}

.visual-title {
  .el-col {
    position: relative;
    height: 100%;
    margin-right: 10px;
    // background: url(../images/蓝色.png) 0 0/cover;
  }

  .el-image {
    height: 100%;
    width: 100%;
    position: absolute;
  }
}